package com.sgchen.demo.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


import com.sgchen.security.annotation.EncryptEntity;
import com.sgchen.security.annotation.EncryptField;
import com.sgchen.security.annotation.RspEncryptEntity;
import com.sgchen.security.annotation.RspEncryptField;
import lombok.Data;

import java.util.List;

/**
 * @author sgchen
 * @date 2024/2/5 16:25
 */
@EncryptEntity
@TableName("account")
@Data
public class AccountPo {
    /**
     * id
     */
    @TableId(value = "id", type= IdType.AUTO)
    private Integer id;
    /**
     * 账号
     */
    @EncryptField
    @RspEncryptField
    private String account;
    /**
     * 密码
     */
    @EncryptField
    private String password;
    /**
     * email
     */
    private String email;

}
